﻿<Window x:Class="Shoozla.View.ProgressBarView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        FlowDirection="RightToLeft"
        Title="ProgressBarView" Height="90" Width="530" WindowStyle="None" Background="{StaticResource BackgroundBrush}" WindowStartupLocation="CenterOwner" ResizeMode="NoResize" ShowInTaskbar="False" BorderThickness="2" Opacity="1" AllowsTransparency="False">
    <WrapPanel VerticalAlignment="Center" HorizontalAlignment="Center">
        <Button x:Name="CancelBT" Command="{Binding Path=CmdCancel}" ToolTip="Stop the search" Style="{DynamicResource CmdButton}" Width="40" Height="40" >
            <Image Source="/Shoozla;component/Images/cancel.png" />
        </Button>
        <ProgressBar DockPanel.Dock="Top"  HorizontalAlignment="Left" Name="mainPB" VerticalAlignment="Top" Height="43" Width="450" FlowDirection="LeftToRight" />
        <TextBlock FontSize="24" Name="currentTB" Text="0" Margin="50,-45,0,0" VerticalAlignment="Center" HorizontalAlignment="Center" FlowDirection="RightToLeft"></TextBlock>
    </WrapPanel>
</Window>
